//
//  SetUpTableViewCell.m
//  HappilyLoan
//
//  Created by 纵情向前 on 2017/4/10.
//  Copyright © 2017年 zongqingxiangqian. All rights reserved.
//

#import "SetUpTableViewCell.h"
#import "PublicClass.h"
@implementation SetUpTableViewCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self.contentView addSubview:self.titleLabel];
        [self.contentView addSubview:self.detialLabel];

    }
    return self;
}

- (UILabel *)titleLabel{
    if (!_titleLabel) {
        _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(ADAPTATION_WIDTH(22), ADAPTATION_HEIGHT(21), ADAPTATION_WIDTH(80), ADAPTATION_HEIGHT(18))];
        _titleLabel.textColor = [UIColor blackColor];
        _titleLabel.font = [UIFont systemFontOfSize:16/W];
        _titleLabel.textAlignment = NSTextAlignmentLeft;
    }
    return _titleLabel;
}
- (UILabel *)detialLabel{
    if (!_detialLabel) {
        _detialLabel = [[UILabel alloc] initWithFrame:CGRectMake(ADAPTATION_WIDTH(280), ADAPTATION_HEIGHT(21), ADAPTATION_WIDTH(80), ADAPTATION_HEIGHT(18))];
        _detialLabel.textColor = [UIColor blackColor];
        _detialLabel.font = [UIFont systemFontOfSize:16/W];
        _detialLabel.textAlignment = NSTextAlignmentLeft;
    }
    return _detialLabel;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
